from google.appengine.ext import db

class Userdetails(db.Model):
  user      = db.UserProperty()
  timestamp = db.DateTimeProperty(auto_now = True)
  gender    = db.StringProperty(choices=set(["male", "female"]))
  sexuality = db.StringProperty(choices=set(["straight", "gay"]))
  birthdate = db.DateTimeProperty()
  country   = db.StringProperty()
  city      = db.StringProperty()

class Searchfors(db.Model):
  user      = db.UserProperty()
  age_from  = db.IntegerProperty()
  age_to    = db.IntegerProperty()
  gender    = db.StringProperty()
